package com.ruoyi.loginAndregist.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * wx用户对象 wx_user
 *
 * @author wq
 * @date 2020-11-12
 */
public class WxUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户主键 */
    private Long id;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wxId;

    /** 微信头像地址 */
    @Excel(name = "微信头像地址")
    private String wxImg;

    /** 微信昵称 */
    @Excel(name = "微信昵称")
    private String wxUserName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 性别 0=女 1=男 */
    @Excel(name = "性别 0=女 1=男")
    private Integer sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 账号状态 1=登录 0退出 2未登录 */
    @Excel(name = "账号状态 1=登录 0退出 2未登录")
    private Integer state;

    /** 登录验证码 */
    @Excel(name = "登录验证码")
    private String verificationCode;

    /** 用户头像图片地址 */
    @Excel(name = "用户头像图片地址")
    private String userTopImgUrl;

    /** 微信加密签名 */
    @Excel(name = "微信加密签名")
    private String sessionKey;

    /** 用户唯一标识 */
    @Excel(name = "用户唯一标识")
    private String opendid;

    /** 经度 */
    @Excel(name = "经度")
    private String lgt;

    /** 维度 */
    @Excel(name = "维度")
    private String lat;

    /** wx用户地址 */
    @Excel(name = "wx用户地址")
    private String wxUserlocation;

    /** 小程序密钥 */
    @Excel(name = "小程序密钥")
    private String appsecret;

    /** 用户在开放平台唯一标识符 */
    @Excel(name = "用户在开放平台唯一标识符")
    private Long unionid;

    /** 学院 */
    @Excel(name = "学院")
    private String school;

    /** 户籍所在地 */
    @Excel(name = "户籍所在地")
    private String householdRegister;

    /** 所属行业 */
    @Excel(name = "所属行业")
    private String industry;

    /** 审核状态 0=未审核 1=审核中 2=审核通过  */
    @Excel(name = "审核状态 0=未审核 1=审核中 2=审核通过 ")
    private Integer shenhe;

    /** 详细信息 他/她想说的一段话 */
    @Excel(name = "详细信息 他/她想说的一段话")
    private String detailedInformation;

    /** 图片 （想说一段话 字段备用） */
    @Excel(name = "图片 ", readConverterExp = "想=说一段话,字=段备用")
    private String imgUrl;

    /** 个人简介 */
    @Excel(name = "个人简介")
    private String introduce;

    /** 个人简介图片(备用) */
    @Excel(name = "个人简介图片(备用)")
    private String introduceImgUrl;

    /** 个性签名 */
    @Excel(name = "个性签名")
    private String wxSgin;

    /** 状态(个人名片信息是否公开 0私密 1公开 */
    @Excel(name = "状态(个人名片信息是否公开 0私密 1公开")
    private Integer privateDetailed;

    /** 会员状态 0=不是会员 1会员 */
    @Excel(name = "会员状态 0=不是会员 1会员")
    private Integer member;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date createtime;
    /** 修改时间 */
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date updatetime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWxId(String wxId)
    {
        this.wxId = wxId;
    }

    public String getWxId()
    {
        return wxId;
    }
    public void setWxImg(String wxImg)
    {
        this.wxImg = wxImg;
    }

    public String getWxImg()
    {
        return wxImg;
    }
    public void setWxUserName(String wxUserName)
    {
        this.wxUserName = wxUserName;
    }

    public String getWxUserName()
    {
        return wxUserName;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setSex(Integer sex)
    {
        this.sex = sex;
    }

    public Integer getSex()
    {
        return sex;
    }
    public void setAge(Integer age)
    {
        this.age = age;
    }

    public Integer getAge()
    {
        return age;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }
    public void setVerificationCode(String verificationCode)
    {
        this.verificationCode = verificationCode;
    }

    public String getVerificationCode()
    {
        return verificationCode;
    }
    public void setUserTopImgUrl(String userTopImgUrl)
    {
        this.userTopImgUrl = userTopImgUrl;
    }

    public String getUserTopImgUrl()
    {
        return userTopImgUrl;
    }
    public void setSessionKey(String sessionKey)
    {
        this.sessionKey = sessionKey;
    }

    public String getSessionKey()
    {
        return sessionKey;
    }
    public void setOpendid(String opendid)
    {
        this.opendid = opendid;
    }

    public String getOpendid()
    {
        return opendid;
    }
    public void setLgt(String lgt)
    {
        this.lgt = lgt;
    }

    public String getLgt()
    {
        return lgt;
    }
    public void setLat(String lat)
    {
        this.lat = lat;
    }

    public String getLat()
    {
        return lat;
    }
    public void setWxUserlocation(String wxUserlocation)
    {
        this.wxUserlocation = wxUserlocation;
    }

    public String getWxUserlocation()
    {
        return wxUserlocation;
    }
    public void setAppsecret(String appsecret)
    {
        this.appsecret = appsecret;
    }

    public String getAppsecret()
    {
        return appsecret;
    }
    public void setUnionid(Long unionid)
    {
        this.unionid = unionid;
    }

    public Long getUnionid()
    {
        return unionid;
    }
    public void setSchool(String school)
    {
        this.school = school;
    }

    public String getSchool()
    {
        return school;
    }
    public void setHouseholdRegister(String householdRegister)
    {
        this.householdRegister = householdRegister;
    }

    public String getHouseholdRegister()
    {
        return householdRegister;
    }
    public void setIndustry(String industry)
    {
        this.industry = industry;
    }

    public String getIndustry()
    {
        return industry;
    }
    public void setShenhe(Integer shenhe)
    {
        this.shenhe = shenhe;
    }

    public Integer getShenhe()
    {
        return shenhe;
    }
    public void setDetailedInformation(String detailedInformation)
    {
        this.detailedInformation = detailedInformation;
    }

    public String getDetailedInformation()
    {
        return detailedInformation;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setIntroduce(String introduce)
    {
        this.introduce = introduce;
    }

    public String getIntroduce()
    {
        return introduce;
    }
    public void setIntroduceImgUrl(String introduceImgUrl)
    {
        this.introduceImgUrl = introduceImgUrl;
    }

    public String getIntroduceImgUrl()
    {
        return introduceImgUrl;
    }
    public void setWxSgin(String wxSgin)
    {
        this.wxSgin = wxSgin;
    }

    public String getWxSgin()
    {
        return wxSgin;
    }
    public void setPrivateDetailed(Integer privateDetailed)
    {
        this.privateDetailed = privateDetailed;
    }

    public Integer getPrivateDetailed()
    {
        return privateDetailed;
    }
    public void setMember(Integer member)
    {
        this.member = member;
    }

    public Integer getMember()
    {
        return member;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("wxId", getWxId())
                .append("wxImg", getWxImg())
                .append("wxUserName", getWxUserName())
                .append("phone", getPhone())
                .append("password", getPassword())
                .append("sex", getSex())
                .append("age", getAge())
                .append("state", getState())
                .append("verificationCode", getVerificationCode())
                .append("userTopImgUrl", getUserTopImgUrl())
                .append("sessionKey", getSessionKey())
                .append("opendid", getOpendid())
                .append("lgt", getLgt())
                .append("lat", getLat())
                .append("wxUserlocation", getWxUserlocation())
                .append("appsecret", getAppsecret())
                .append("unionid", getUnionid())
                .append("createtime", getCreatetime())
                .append("updatetime", getUpdatetime())
                .append("school", getSchool())
                .append("householdRegister", getHouseholdRegister())
                .append("industry", getIndustry())
                .append("shenhe", getShenhe())
                .append("detailedInformation", getDetailedInformation())
                .append("imgUrl", getImgUrl())
                .append("introduce", getIntroduce())
                .append("introduceImgUrl", getIntroduceImgUrl())
                .append("wxSgin", getWxSgin())
                .append("privateDetailed", getPrivateDetailed())
                .append("member", getMember())
                .append("remark", getRemark())
                .toString();
    }
}
